<?php /* @var $this View */ ?>
<div class="row">
    <div class="span6 offset3">
        <div class="login">
            <?php
            echo $this->Html->tag('h2', __('Đăng nhập'));
            echo $this->Form->create('User', array('onSubmit' => 'return checkform(this)'));
            echo $this->Form->input('email', array());
            echo $this->Form->input('password', array('label' => __('Mật khẩu')));
            echo $this->Form->input('remember_me', array(
                'type' => 'checkbox',
                'label' => __('Ghi nhớ lần sau')
            ));
            echo $this->Form->submit(__('Đăng nhập'));
            echo $this->Form->end();
            ?>
        </div>
    </div>
</div>
<script type="text/javascript">
    function checkform(form){
        //TODO : viết form check input từ phía client
        return true;
    }
</script>